﻿/*
==================================================================
    注意：此文件为Auto代码，不可手动修改【权限】
==================================================================
*/

namespace Entities
{
    /// <summary>
    /// 权限
    /// </summary>
    [SugarTable("dbo.Permission")]
    public partial class Permission
    {
        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "PermissionID")]
        public int PermissionID { get; set; }
        
        /// <summary>
        /// 标识ID
        /// </summary>
        [SugarColumn(ColumnName = "PerID")]
        public int PerID { get; set; }
        
        /// <summary>
        /// 名称
        /// </summary>
        [SugarColumn(ColumnName = "Name")]
        public string Name { get; set; }
        
        /// <summary>
        /// 上级节点
        /// </summary>
        [SugarColumn(ColumnName = "ParentID")]
        public int ParentID { get; set; }
        
        /// <summary>
        /// 分组ID
        /// </summary>
        [SugarColumn(ColumnName = "GroupNum")]
        public int GroupNum { get; set; }
        
        /// <summary>
        /// 是否为监管部门用
        /// </summary>
        [SugarColumn(ColumnName = "IsUseRegulator")]
        public bool IsUseRegulator { get; set; }
        
        /// <summary>
        /// 排序号
        /// </summary>
        [SugarColumn(ColumnName = "SortNo")]
        public int SortNo { get; set; }
    }
}
